package com.klaus.ohMySpace.service;

import com.klaus.ohMySpace.entity.Note;
import org.hibernate.criterion.DetachedCriteria;

import java.util.List;

/**
 * Created by Mklaus on 15/8/6.
 */
public interface NoteService extends BaseService<Note>{
    public List<Note> getNotesByUserId(int userId,Integer start,Integer size);
    public List<Note> getNotesByUserId(int userId);
}
